package com.mall4j.cloud.user.model;

import com.mall4j.cloud.common.model.BaseModel;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class UserBalance extends BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long balId;
    private Long userId;

    private BigDecimal balance;

    // 省略构造函数、getter和setter方法


    public Long getBalId() {
        return balId;
    }

    public void setBalId(Long balId) {
        this.balId = balId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }


    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "UserBalance{" +
                "balId=" + balId +
                ", userId=" + userId +
                ", balance=" + balance +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
